package cn.yeziji.forum.common.enums.status;

import cn.yeziji.forum.common.enums.status.code.UploadCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 上传状态
 *
 * @author gzkemays
 * @since 2022/3/28 23:42
 */
@Getter
@AllArgsConstructor
public enum UploadStatus {
  /** 统一上传状态 */
  UPLOAD_MAX_FAIL(UploadCode.UPLOAD_MAX_FAIL, "一次性上传不能超过5个"),
  UPLOAD_FAIL(UploadCode.UPLOAD_FAIL, "上传失败");
  int code;
  String msg;
}
